package com.sc.VenusQueryBeta.contract.login;

import com.hengjun.kingstar.sdk.base.BasePresenter;
import com.hengjun.kingstar.sdk.base.IBaseActivity;
import com.hengjun.kingstar.sdk.base.IBaseModel;
import com.sc.VenusQueryBeta.model.bean.login.RegisterVerticationBean;

import io.reactivex.Observable;

/**
 * 忘记密码契约
 */

public interface ForgotPasswordContract  {
    abstract class ForgotPasswordPresenter extends BasePresenter<IForgotPasswordModel,IForgotPasswordView>{
        //忘記密碼
        public abstract void getVerticatinCode(String clientUID, String deviceUID, String deviceType, String registerSmsnum, String areaCode, String flag);
    }
    interface IForgotPasswordModel extends IBaseModel{
        //忘記密碼模型接口
        Observable<RegisterVerticationBean> getVerticatinCode(String clientUID, String deviceUID, String deviceType, String registerSmsnum, String areaCode, String flag);

    }
    interface IForgotPasswordView extends IBaseActivity {
        /**
         * 忘記密碼驗證碼顯示
         *
         * @param registerVerticationBean
         */
        void showVerticationDataSuccess(RegisterVerticationBean registerVerticationBean);

        void showNetworkError();
    }
}
